<template>
  <div class="serviveCenter">
    <div class="top">
      <img src="http://static.52letsgo.cn/zz/wechatimg/ic_problem.png" alt="">
      <span>常见问题</span>
    </div>
    <div class="bottom">
      <ul>
        <li v-for="(index, item) in questions"><a href="{{item.content}}">{{item.title}}</a></li>
      </ul>
    </div>
  </div>
</template>
<script>
  var MyRequest = require('./../../commons/js/MyRequest.js')
  var LocalStorageUtil = require('./../../commons/js/LocalStorageUtil.js')
  var Global = require("./../../commons/js/Global.js")
  export default {
    data () {
      return {
        questions: ''
      }
    },
    created: function () {
      var data = {}
      MyRequest.MyGetWithToast("ServiceCenter", this, function(result, that) {
        console.log(result)
        that.questions = result.data
        Global.closeLoading()
      }, data)
    }
  }
</script>